package com.woniu.model.sportsHealth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 运动表
 * </p>
 *
 * @author Jet
 * @since 2023-10-23
 */
@Getter
@Setter
  @TableName("sh_sport")
@ApiModel(value = "Sport对象", description = "运动表")
public class Sport implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("运动表")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("日期")
      private Date sportDate;

      @ApiModelProperty("跑步距离")
      private Double runDistance;

      @ApiModelProperty("跑步时长")
      private Integer runDuration;

      @ApiModelProperty("深蹲数量")
      private Integer squatNumber;

      @ApiModelProperty("深蹲时长")
      private Integer squatDuiration;

      @ApiModelProperty("仰卧起坐数量")
      private Integer situpsNumber;

      @ApiModelProperty("仰卧起坐时长")
      private Integer situpsDuiration;

      @ApiModelProperty("俯卧撑数量")
      private Integer pushupNumber;

      @ApiModelProperty("俯卧撑时长")
      private Integer pushupDuiration;

      @ApiModelProperty("用户id")
      private Long shUserId;


}
